package de.sas.za_expression.model;

public class StringAttribut extends Attribut {
	
	private String wert;

	public StringAttribut(String name, String wert)
	{
		super(name);
		this.setWert(wert);
	}


	public String getWert() {
		return wert;
	}

	public void setWert(String wert) {
		this.wert = wert;
	}
	
	@Override
	public boolean equals(Object obj) {
		return wert.equals(obj);
	}
	
	@Override
	public String toString() {
		String returnString = "StringAttribut: Name=" + getName() + ", Wert=" + wert;
		return returnString;
	}
}
